package com.ibatisorm.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.ibatisorm.utils.DatabaseType;

public class Querydao extends SqlMapClientDaoSupport {

	public List<String> getTables(){
		Map map1 = new HashMap(2);
		map1.put("type", "1");
		
		return this.getSqlMapClientTemplate().queryForList("getTables","0");
	}
	
	public List<String> getColumns(Map<String,String> map){
		return this.getSqlMapClientTemplate().queryForList("getColumns",map);
	}

}
